package com.tfjybj.itoo.exam.model;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;
import lombok.experimental.Accessors;

import javax.persistence.Column;
import java.io.Serializable;

/**
 * StaffInstitutionModel
 * 教师-机构对应表
 *
 * @author 杨江涛 
 * @version 2.0.0
 * @since 2.0.0 2018-11-15 10:35:56
 */
@ApiModel(value = "StaffInstitutionModel:教师-机构对应表")
@Data
@NoArgsConstructor
@Accessors(chain = true)
@ToString(callSuper = true)
public class StaffInstitutionModel implements Serializable {

    //region 模板逆向生产来自StaffInstitutionEntity的属性
	/**
	 * id
	 */
	@ApiModelProperty(value = "staffInstitution主键")
	@Column(name = "id")
	private String id;
   	/**
	 * 职工id
	 */
	@ApiModelProperty(value = "职工id",required = true)
	private String staffId;

	/**
	 * 机构id
	 */
	@ApiModelProperty(value = "机构id",required = true)
	private String institutionId;

	/**
	 * 职位
	 */
    @ApiModelProperty(value = "职位")
	private String position;

	/**
	 * 是否为主要职能（0否  1是）
	 */
    @ApiModelProperty(value = "是否为主要职能（0否  1是）", example = "0")
	private Integer isMain;

    //endregion

     /* *****************************以下是非模板生成的内容************************************ */
}
